Skip to content

chore(scripts): add update_readme.py for release asset metadata automation#51

Merged
juice094 merged 2 commits into
mainfrom
feat/readme-automation-script
May 15, 2026
Merged

chore(scripts): add update_readme.py for release asset metadata automation#51
juice094 merged 2 commits into
mainfrom
feat/readme-automation-script

Conversation

@juice094
Copy link
Copy Markdown
Owner

Summary

Add to automate README.md version/size updates during releases.

Usage

What it updates

  • Version strings in asset filenames ( → )
  • Release download URLs ( → )
  • Size annotations in the precompiled binary table

Future work

Integrate into so that the README is auto-updated and committed by the release bot after both platform builds complete.

juice094 added 2 commits May 15, 2026 13:17
…ation

Usage:
    python scripts/update_readme.py --version v0.21.0 \
        --windows-size 9.1 --linux-size 9.2

Replaces version strings, download URLs, and size annotations in README.md.
Intended for integration into release.yml in a future update.
- scripts/ci-local.ps1  — Windows PowerShell 完整预检(fmt/clippy/check/test/greptimedb/audit)
- scripts/ci-local.sh   — WSL/Bash 完整预检
- .githooks/pre-commit  — Git pre-commit 钩子(fmt + clippy 快速拦截)

启用钩子:
    git config core.hooksPath .githooks

本机无法完全替代 GitHub Actions(缺少 branch protection 强制门),
但可在 push 前拦截 90% 的 CI 失败。
@juice094 juice094 merged commit a9ff5cf into main May 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant